#-------------------------------------------------
#
# Project created by QtCreator 2013-09-11T17:09:30
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = Gedule
TEMPLATE = app


SOURCES += main.cpp\
    gedulemgr.cpp \
    utils/printable.cpp \
    utils/clonable.cpp \
    utils/visitor/visitor.cpp \
    utils/visitor/visitable.cpp \
    utils/logging/logmanager.cpp \
    utils/logging/logger.cpp \
    utils/storer/storer.cpp \
    utils/storer/xmlstorer.cpp \
    model/task.cpp \
    model/resource.cpp \
    model/model.cpp \
    model/constraints/constraint.cpp \
    model/constraints/taskconstraint.cpp \
    model/constraints/resourceconstraint.cpp \
    model/constraints/modelconstraint.cpp \
    model/constraints/model_contraints/precedence.cpp \
    model/constraints/model_contraints/maxtime.cpp \
    model/constraints/model_contraints/allowidles.cpp \
    model/constraints/resource_contraints/unavailabilities.cpp \
    model/constraints/resource_contraints/capacity.cpp \
    model/constraints/task_contraints/timewindow.cpp \
    model/constraints/task_contraints/lenght.cpp \
    model/constraints/task_contraints/neededresources.cpp \
    model/factory/taskfactory.cpp \
    model/factory/taskconstraintfactory.cpp \
    model/factory/resourcefactory.cpp \
    model/factory/resourceconstraintfactory.cpp \
    model/factory/modelconstraintfactory.cpp \
    gui/console/askforconsoledlg.cpp \
    gui/console/menuconsoledlg.cpp \
    gui/qt/mainwindow.cpp \
    gecode/gecodemodel.cpp \
    gecode/propagators/precedencepropagator.cpp \
    utils/loader/xmlloader.cpp \
    utils/loader/loader.cpp

HEADERS  += definitions.h \
    gedulemgr.h \
    utils/printable.h \
    utils/clonable.h \
    utils/visitor/visitor.h \
    utils/visitor/visitable.h \
    utils/logging/logmanager.h \
    utils/logging/logger.h \
    utils/storer/storer.h \
    utils/storer/xmlstorer.h \
    model/task.h \
    model/resource.h \
    model/model.h \
    model/definitions.h \
    model/constraints/constraint.h \
    model/constraints/taskconstraint.h \
    model/constraints/resourceconstraint.h \
    model/constraints/modelconstraint.h \
    model/constraints/model_contraints/precedence.h \
    model/constraints/model_contraints/maxtime.h \
    model/constraints/model_contraints/allowidles.h \
    model/constraints/resource_contraints/unavailabilities.h \
    model/constraints/resource_contraints/capacity.h \
    model/constraints/task_contraints/timewindow.h \
    model/constraints/task_contraints/lenght.h \
    model/constraints/task_contraints/neededresources.h \
    model/factory/taskfactory.h \
    model/factory/taskconstraintfactory.h \
    model/factory/resourcefactory.h \
    model/factory/resourceconstraintfactory.h \
    model/factory/modelconstraintfactory.h \
    gui/console/askforconsoledlg.h \
    gui/console/menuconsoledlg.h \
    gui/qt/mainwindow.h \
    gecode/gecodemodel.h \
    gecode/propagators/precedencepropagator.h \
    utils/loader/xmlloader.h \
    utils/loader/loader.h

FORMS    +=

unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -llog4cpp

INCLUDEPATH += $$PWD/../../../../usr/local/include
DEPENDPATH += $$PWD/../../../../usr/local/include

#unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -lgecodeflatzinc
#
#INCLUDEPATH += $$PWD/../../../../usr/local/include
#DEPENDPATH += $$PWD/../../../../usr/local/include

#unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -lgecodedriver
#
#INCLUDEPATH += $$PWD/../../../../usr/local/include
#DEPENDPATH += $$PWD/../../../../usr/local/include

unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -lgecodegist

INCLUDEPATH += $$PWD/../../../../usr/local/include
DEPENDPATH += $$PWD/../../../../usr/local/include

unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -lgecodesearch

INCLUDEPATH += $$PWD/../../../../usr/local/include
DEPENDPATH += $$PWD/../../../../usr/local/include

#unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -lgecodeminimodel
#
#INCLUDEPATH += $$PWD/../../../../usr/local/include
#DEPENDPATH += $$PWD/../../../../usr/local/include

#unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -lgecodeset
#
#INCLUDEPATH += $$PWD/../../../../usr/local/include
#DEPENDPATH += $$PWD/../../../../usr/local/include

#unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -lgecodefloat
#
#INCLUDEPATH += $$PWD/../../../../usr/local/include
#DEPENDPATH += $$PWD/../../../../usr/local/include

unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -lgecodeint

INCLUDEPATH += $$PWD/../../../../usr/local/include
DEPENDPATH += $$PWD/../../../../usr/local/include

unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -lgecodekernel

INCLUDEPATH += $$PWD/../../../../usr/local/include
DEPENDPATH += $$PWD/../../../../usr/local/include

unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -lgecodesupport

INCLUDEPATH += $$PWD/../../../../usr/local/include
DEPENDPATH += $$PWD/../../../../usr/local/include

RESOURCES += \
    resources.qrc
